﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ExiaWorkshopServices
{
    class CL_Facto
    {
        public double factorielRecursif(double n)
        {
            if (n > 1) return n * factorielRecursif(n - 1);
            else return 1;
        }
    }
}
